$f: 19.2;
h1 {
  margin: 0;
  padding: 0;
}

.section {
  padding: 186/$f+vw 0 160/$f+vw;

  .wrap {
    width: 1400/$f+vw;
    margin: 0 auto;

    h1 {
      font-size: 40/$f+vw;
      font-weight: 600;
      color: #000;
      line-height: 1;
      margin-bottom: 50/$f+vw;
    }

    form {
      display: flex;
      align-items: center;
      margin-bottom: 24/$f+vw;

      .input {
        width: 700/$f+vw;
        height: 48/$f+vw;
        border: 1/$f+vw solid rgba(0, 0, 0, 0.1);
        border-right: none;
        border-radius: 0 0 4/$f+vw 4/$f+vw;
        position: relative;

        img {
          position: absolute;
          left: 12/$f+vw;
          width: 20/$f+vw;
          height: 20/$f+vw;
          top: 50%;
          transform: translateY(-50%);
        }

        input {
          width: 100%;
          height: 100%;
          border: none;
          font-size: 16/$f+vw;
          font-weight: 400;
          color: #111;
          padding: 0 42/$f+vw;

          &::placeholder {
            color: #999999;
          }
        }
      }

      button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 96/$f+vw;
        height: 48/$f+vw;
        border-radius: 0 4/$f+vw 4/$f+vw 0;
        border: none;
        background: #1A53F0;
        font-size: 16/$f+vw;
        font-weight: 400;
        color: #fff;
      }
    }

    .hot {
      display: flex;
      align-items: center;
      margin-bottom: 40/$f+vw;

      h5 {
        font-size: 16/$f+vw;
        font-weight: 400;
        line-height: 22/$f+vw;
        margin-right: 32/$f+vw;
        color: #999999;
      }

      a {
        display: block;
        font-size: 16/$f+vw;
        font-weight: 400;
        color: #000;
        transition: 0.6s;

        &:not(:nth-last-child(1)) {
          margin-right: 32/$f+vw;
        }

        &:hover {
          color: #1A53F0;
        }
      }
    }

    .select_box {
      width: 100%;
      background: #F1F3F9;
      margin-bottom: 68/$f+vw;

      .select_list {
        display: flex;
        padding: 20/$f+vw 20/$f+vw 0;

        &:not(:last-child) {
          border-bottom: 1/$f+vw solid rgba(0, 0, 0, 0.1);
        }

        h5 {
          width: 130/$f+vw;
          font-size: 18/$f+vw;
          font-weight: 500;
          line-height: 24/$f+vw;
        }

        .select_flex {
          width: calc(100% - 6.77vw);
          display: flex;
          align-items: center;
          flex-wrap: wrap;

          p {
            display: block;
            font-size: 16/$f+vw;
            font-weight: 400;
            line-height: 24/$f+vw;
            transition: 0.6s;
            margin-right: 60/$f+vw;
            cursor: pointer;
            margin-bottom: 20/$f+vw;

            &:hover, &.on {
              color: #1A53F0;
            }
          }
        }
      }
    }

    .content {
      .content_title {
        display: flex;
        align-items: center;
        margin-bottom: 40/$f+vw;

        h5 {
          font-size: 16/$f+vw;
          font-weight: 400;
          line-height: 22/$f+vw;
          padding: 0 22/$f+vw 0 0;
          border-right: 1/$f+vw solid rgba(0, 0, 0, 0.1);
          color: #1A53F0;
          margin-right: 16/$f+vw;
        }

        .label {
          display: flex;
          align-items: center;
          font-size: 16/$f+vw;
          font-weight: 400;
          line-height: 22/$f+vw;
          color: #000;
          cursor: pointer;

          .sort {
            margin-left: 4/$f+vw;

            div {
              width: 6/$f+vw;
              height: 6/$f+vw;
              background: #D9D9D9;
              clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
              transition: 0.6s;

              &:nth-child(2) {
                clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
                margin: 1/$f+vw 0 0;
                background: #1A53F0;
              }
            }

            &.reverse {
              div {
                background: #1A53F0;

                &:nth-child(2) {
                  background: #D9D9D9;
                }
              }
            }
          }
        }
      }

      .flex {
        display: flex;
        flex-wrap: wrap;

        .item {
          display: block;
          width: 335/$f+vw;
          background: #F6F9FF;
          margin-bottom: 40/$f+vw;

          &:not(:nth-child(4n)) {
            margin-right: 20/$f+vw;
          }

          .img {
            width: 100%;
            height: 204/$f+vw;
            overflow: hidden;

            img {
              display: block;
              width: 100%;
              height: 100%;
              object-fit: cover;
              transition: 1.6s;
            }
          }

          .item_text {
            padding: 20/$f+vw 20/$f+vw 24/$f+vw;

            h1 {
              font-size: 20/$f+vw;
              font-weight: 500;
              line-height: 28/$f+vw;
              white-space: nowrap;
              overflow: hidden;
              text-overflow: ellipsis;
              transition: 0.6s;
              margin-bottom: 13/$f+vw;
              transition: 0.6s;
            }

            .score {
              display: flex;
              align-items: center;
              margin-bottom: 20/$f+vw;

              .star {
                display: flex;
                align-items: center;

                .star_item {
                  width: 16/$f+vw;
                  margin-right: 4/$f+vw;
                  position: relative;

                  img {
                    display: block;
                    width: 16/$f+vw;
                    position: relative;
                    margin: 0 auto;
                    opacity: 0;
                    z-index: 3;

                    &:nth-child(2) {
                      width: 16/$f+vw;
                      position: absolute;
                      top: 0;
                      left: 0;
                      opacity: 1;
                      z-index: 1;
                    }
                  }

                  &.on {
                    img {
                      opacity: 1;

                      &:nth-child(2) {
                        opacity: 0;
                      }
                    }
                  }

                  &.half {
                    img {
                      opacity: 1 !important;
                    }
                  }
                }
              }

              p {
                font-size: 16/$f+vw;
                font-weight: 400;
                line-height: 22/$f+vw;
                color: #999999;
                margin: 0 0 0 12/$f+vw;

              }
            }

            .item_label {
              font-size: 20/$f+vw;
              font-weight: 500;
              line-height: 28/$f+vw;
              color: #FF4848;
            }
          }

          &:hover {
            .img {
              img {
                transform: scale(1.1);
              }
            }

            .item_text {
              h1 {
                color: #1A53F0;
              }
            }
          }
        }
      }

      .page {
        display: flex;
        align-items: center;
        justify-content: center;

        a {
          width: 40/$f+vw;
          height: 40/$f+vw;
          border-radius: 4/$f+vw;
          border: 1/$f+vw solid #999999;
          display: flex;
          align-items: center;
          justify-content: center;
          margin: 0 4/$f+vw;
          font-family: Urbanist;
          font-size: 16/$f+vw;
          font-weight: 400;
          transition: 0.6s;

          img {
            width: 7/$f+vw;
            transition: 0.6s;
          }

          &:hover, &.on {
            border: 1/$f+vw solid #1A53F0;
            background: #1A53F0;
            color: #fff;

            img {
              filter: grayscale(1) brightness(10);
            }
          }
        }
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  .section {
    padding: 100px 0 60px;

    .wrap {
      width: 90%;

      h1 {
        font-size: 24px;
        margin-bottom: 25px;
      }

      form {
        margin-bottom: 10px;

        .input {
          width: calc(100% - 35px);
          height: 35px;

          input {
            font-size: 16px;
            padding: 0 10px 0 30px;
          }

          img {
            width: 16px;
            height: 16px;
            left: 10px;
          }
        }

        button {
          height: 35px;
          width: 60px;
          font-size: 16px;
          border-radius: 0 5px 5px 0;
        }
      }

      .hot {
        flex-wrap: wrap;
        margin-bottom: 30px;

        h5 {
          font-size: 16px;
          line-height: normal;
          margin-right: 10px;
        }

        a {
          font-size: 14px;
          line-height: 2;
          margin-right: 10px !important;
        }
      }

      .select_box {
        margin-bottom: 40px;

        .select_list {
          padding: 20px 20px 10px;

          h5 {
            font-size: 16px;
            line-height: normal;
            width: 70px;
            margin: 2px 0 0;
          }

          .select_flex {
            width: calc(100% - 70px);

            p {
              font-size: 14px;
              line-height: 2;
              margin: 0 15px 10px 0;
            }
          }
        }
      }

      .content {
        .content_title {
          margin-bottom: 30px;

          h5 {
            font-size: 20px;
            line-height: 1;
            margin-right: 10px;
            padding: 0 10px 0 0;
          }

          .label {
            font-size: 16px;
            line-height: normal;

            .sort {
              margin-left: 5px;

              div {
                width: 6px;
                height: 6px;

                &:nth-child(2) {
                  margin-top: 2px;
                }
              }
            }
          }
        }

        .flex {
          .item {
            width: 100%;
            margin: 0 0 30px !important;

            .img {
              height: 54vw;
            }

            .item_text {
              padding: 20px;

              h1 {
                font-size: 18px;
                line-height: normal;
                margin-bottom: 15px;
              }

              .score {
                margin-bottom: 15px;

                .star {
                  .star_item {
                    width: 16px;
                    height: 16px;
                    margin-right: 3px;

                    img {
                      width: 16px;
                    }
                  }
                }

                p {
                  font-size: 16px;
                }
              }

              .item_label {
                font-size: 16px;
                line-height: normal;
              }
            }
          }
        }
      }
    }
  }
}